package com.xyf.sys.mapper;

import com.xyf.sys.domain.SysDownloadTask;
import com.xyf.sys.domain.UserAddress;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SysDownloadTaskMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysDownloadTask record);

    int insertSelective(SysDownloadTask record);

    SysDownloadTask selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysDownloadTask record);

    int updateByPrimaryKey(SysDownloadTask record);

    List<SysDownloadTask> selectByUserId(@Param("userId") String userId);

    List<SysDownloadTask> selectByDeptId(@Param("deptId") Long deptId);

    List<SysDownloadTask> selectAll();
}